package org.edu.modules.portal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@TableName("ve_site_down")
@ApiModel(value = "ve_site_down对象", description = "下载列表")
public class VeSiteDown implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;
    @Excel(name = "栏目ID", width = 15.0D)
    @ApiModelProperty("栏目ID")
    private Integer cateid;
    @Excel(name = "标题", width = 15.0D)
    @ApiModelProperty("标题")
    private String title;
    @Excel(name = "文件ID", width = 15.0D)
    @ApiModelProperty("文件ID")
    private Integer fileid;
    @Excel(name = "下载次数", width = 15.0D)
    @ApiModelProperty("下载次数")
    private Integer downcount;
    @Excel(name = "文件大小KB", width = 15.0D)
    @ApiModelProperty("文件大小KB")
    private Integer size;

    public org.edu.modules.portal.entity.VeSiteDown setId(Integer id) {
        this.id = id;
        return this;
    }

    @Excel(name = "添加时间", width = 15.0D)
    @ApiModelProperty("添加时间")
    private Integer addtime;
    @Excel(name = "更新时间", width = 15.0D)
    @ApiModelProperty("更新时间")
    private Integer updatetime;
    @Excel(name = "上传用户ID", width = 15.0D)
    @ApiModelProperty("上传用户ID")
    private Integer userid;
    @Excel(name = "上传用户姓名", width = 15.0D)
    @ApiModelProperty("上传用户姓名")
    private String username;
    @Excel(name = "站点ID", width = 15.0D)
    @ApiModelProperty("站点ID")
    private Integer siteid;
    @Excel(name = "terminalid", width = 15.0D)
    @ApiModelProperty("terminalid")
    private Integer terminalid;
    @Excel(name = "简介", width = 15.0D)
    @ApiModelProperty("简介")
    private String content;
    @Excel(name = "多租户id", width = 15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;

    public org.edu.modules.portal.entity.VeSiteDown setCateid(Integer cateid) {
        this.cateid = cateid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setTitle(String title) {
        this.title = title;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setFileid(Integer fileid) {
        this.fileid = fileid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setDowncount(Integer downcount) {
        this.downcount = downcount;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setSize(Integer size) {
        this.size = size;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setAddtime(Integer addtime) {
        this.addtime = addtime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setUpdatetime(Integer updatetime) {
        this.updatetime = updatetime;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setUserid(Integer userid) {
        this.userid = userid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setUsername(String username) {
        this.username = username;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setSiteid(Integer siteid) {
        this.siteid = siteid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setTerminalid(Integer terminalid) {
        this.terminalid = terminalid;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setContent(String content) {
        this.content = content;
        return this;
    }

    public org.edu.modules.portal.entity.VeSiteDown setPlaceId(Integer placeId) {
        this.placeId = placeId;
        return this;
    }

    public String toString() {
        return "VeSiteDown(id=" + getId() + ", cateid=" + getCateid() + ", title=" + getTitle() + ", fileid=" + getFileid() + ", downcount=" + getDowncount() + ", size=" + getSize() + ", addtime=" + getAddtime() + ", updatetime=" + getUpdatetime() + ", userid=" + getUserid() + ", username=" + getUsername() + ", siteid=" + getSiteid() + ", terminalid=" + getTerminalid() + ", content=" + getContent() + ", placeId=" + getPlaceId() + ")";
    }


    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof org.edu.modules.portal.entity.VeSiteDown)) return false;
        org.edu.modules.portal.entity.VeSiteDown other = (org.edu.modules.portal.entity.VeSiteDown) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id)) return false;
        Object this$cateid = getCateid(), other$cateid = other.getCateid();
        if ((this$cateid == null) ? (other$cateid != null) : !this$cateid.equals(other$cateid)) return false;
        Object this$fileid = getFileid(), other$fileid = other.getFileid();
        if ((this$fileid == null) ? (other$fileid != null) : !this$fileid.equals(other$fileid)) return false;
        Object this$downcount = getDowncount(), other$downcount = other.getDowncount();
        if ((this$downcount == null) ? (other$downcount != null) : !this$downcount.equals(other$downcount))
            return false;
        Object this$size = getSize(), other$size = other.getSize();
        if ((this$size == null) ? (other$size != null) : !this$size.equals(other$size)) return false;
        Object this$addtime = getAddtime(), other$addtime = other.getAddtime();
        if ((this$addtime == null) ? (other$addtime != null) : !this$addtime.equals(other$addtime)) return false;
        Object this$updatetime = getUpdatetime(), other$updatetime = other.getUpdatetime();
        if ((this$updatetime == null) ? (other$updatetime != null) : !this$updatetime.equals(other$updatetime))
            return false;
        Object this$userid = getUserid(), other$userid = other.getUserid();
        if ((this$userid == null) ? (other$userid != null) : !this$userid.equals(other$userid)) return false;
        Object this$siteid = getSiteid(), other$siteid = other.getSiteid();
        if ((this$siteid == null) ? (other$siteid != null) : !this$siteid.equals(other$siteid)) return false;
        Object this$terminalid = getTerminalid(), other$terminalid = other.getTerminalid();
        if ((this$terminalid == null) ? (other$terminalid != null) : !this$terminalid.equals(other$terminalid))
            return false;
        Object this$placeId = getPlaceId(), other$placeId = other.getPlaceId();
        if ((this$placeId == null) ? (other$placeId != null) : !this$placeId.equals(other$placeId)) return false;
        Object this$title = getTitle(), other$title = other.getTitle();
        if ((this$title == null) ? (other$title != null) : !this$title.equals(other$title)) return false;
        Object this$username = getUsername(), other$username = other.getUsername();
        if ((this$username == null) ? (other$username != null) : !this$username.equals(other$username)) return false;
        Object this$content = getContent(), other$content = other.getContent();
        return !((this$content == null) ? (other$content != null) : !this$content.equals(other$content));
    }

    protected boolean canEqual(Object other) {
        return other instanceof org.edu.modules.portal.entity.VeSiteDown;
    }

    public int hashCode() {
        int PRIME = 59;
        Integer result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $cateid = getCateid();
        result = result * 59 + (($cateid == null) ? 43 : $cateid.hashCode());
        Object $fileid = getFileid();
        result = result * 59 + (($fileid == null) ? 43 : $fileid.hashCode());
        Object $downcount = getDowncount();
        result = result * 59 + (($downcount == null) ? 43 : $downcount.hashCode());
        Object $size = getSize();
        result = result * 59 + (($size == null) ? 43 : $size.hashCode());
        Object $addtime = getAddtime();
        result = result * 59 + (($addtime == null) ? 43 : $addtime.hashCode());
        Object $updatetime = getUpdatetime();
        result = result * 59 + (($updatetime == null) ? 43 : $updatetime.hashCode());
        Object $userid = getUserid();
        result = result * 59 + (($userid == null) ? 43 : $userid.hashCode());
        Object $siteid = getSiteid();
        result = result * 59 + (($siteid == null) ? 43 : $siteid.hashCode());
        Object $terminalid = getTerminalid();
        result = result * 59 + (($terminalid == null) ? 43 : $terminalid.hashCode());
        Object $placeId = getPlaceId();
        result = result * 59 + (($placeId == null) ? 43 : $placeId.hashCode());
        Object $title = getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        Object $username = getUsername();
        result = result * 59 + (($username == null) ? 43 : $username.hashCode());
        Object $content = getContent();
        return result * 59 + (($content == null) ? 43 : $content.hashCode());
    }


    public Integer getId() {
        return this.id;
    }

    public Integer getCateid() {
        return this.cateid;
    }

    public String getTitle() {
        return this.title;
    }

    public Integer getFileid() {
        return this.fileid;
    }

    public Integer getDowncount() {
        return this.downcount;
    }

    public Integer getSize() {
        return this.size;
    }

    public Integer getAddtime() {
        return this.addtime;
    }

    public Integer getUpdatetime() {
        return this.updatetime;
    }

    public Integer getUserid() {
        return this.userid;
    }

    public String getUsername() {
        return this.username;
    }

    public Integer getSiteid() {
        return this.siteid;
    }

    public Integer getTerminalid() {
        return this.terminalid;
    }

    public String getContent() {
        return this.content;
    }

    public Integer getPlaceId() {
        return this.placeId;
    }
}



